home *** CD-ROM | disk | FTP | other *** search
Microsoft Windows Help File Content | 1998-02-09 | 35.1 KB | 742 lines |
- :Base BCBPG3.HLP
- 1 Programming with C++Builder
- 2 Lexical elements overview
- 3 Lexical Elements = LexicalElements
- 3 Whitespace Overview
- 4 Whitespace = Whitespace
- 4 Comments = Comments
- 3 Tokens Overview
- 4 Tokens = Tokens
- 4 Keywords overview
- 5 Keywords = Keywords
- 5 Table of C++ specific keywords = Keywords_Cplusplus
- 5 Table of Borland C++ register pseudovariables = TableOfRegisterPseudovariables
- 5 Borland C++ keyword extensions = Keywords_BorlandExtensions
- 4 Identifiers Overview
- 5 Identifiers = Identifiers
- 4 Constants overview
- 5 Constants = Constants
- 5 Integer constants = IntegerConstants
- 5 Extended integer types =ExtendedIntegerTypes
- 5 Borland C++ integer constants without L or U = BorlandCPPIntegerConstantsWithoutLOrU
- 5 Floating-point constants = Floating_PointConstants
- 5 Character constants overview
- 6 Character constants = CharacterConstants
- 6 The three char types = TheThreeCharTypes
- 6 Escape sequences = EscapeSequences
- 6 Wide-character and multi-character constants = Wide_CharacterConstants
- 5 String constants overview
- 6 String constants = StringConstants
- 5 Enumeration constants
- 6 Enumeration constants = EnumerationConstants
- 5 Constants and internal representation
- 6 Constants and internal representation = ConstantsAndInternalRepresentation
- 6 Data Types (32-bit) = DataTypesBorland_32
- 5 Internal representation of numerical types
- 6 Internal representation of numerical types = InternalRepresentationOfNumericalTypes
- 5 Constant expressions
- 6 Constant expressions = ConstantExpressions
- 4 Punctuators overview
- 5 Punctuators = punctuators
- 2 Language structure
- 3 Introduction to Language structure =LanguageStructure
- 3 Declarations
- 4 Introduction to Declarations =Declarations
- 4 Objects
- 5 Introduction to Objects =Objects
- 5 lvalues =lvalues
- 5 rvalues =rvalues
- 4 Storage classes and types
- 5 Storage classes and types =StorageClassesAndTypes
- 4 Scope
- 5 Introduction to Scope =Scope
- 5 Name spaces =NameSpaces
- 4 Visibility
- 5 Visibility =Visibility
- 4 Duration
- 5 Introduction to Duration =Duration
- 5 Static =Static
- 5 Local =Local
- 5 Dynamic =Dynamic
- 4 Translation units
- 5 Translation units =TranslationUnits
- 4 Linkage
- 5 Introduction to Linkage =Linkage
- 5 External and internal linkage rules =ExternalAndInternalLinkageRules
- 5 Name mangling =NameMangling
- 3 Declaration syntax
- 4 Introduction to Declaration syntax =DeclarationSyntax
- 4 Tentative definitions =TentativeDefinitions
- 4 Possible declarations =PossibleDeclarations
- 4 External declarations and definitions =ExternalDeclarationsAndDefinitions
- 4 Type specifiers =Keywords_TypeSpecifiers
- 4 Type categories
- 5 Introduction to type categories =TypeCategories
- 5 Type void = Void
- 4 The fundamental types
- 5 Introduction to the fundamental types =TheFundamentalTypes
- 5 Integral types =IntegralTypes
- 5 Floating-point types =Floating_PointTypes
- 5 Standard arithmetic conversions = StandardArithmeticConversions
- 5 Special char, int, and enum conversions =SpecialCharIntAndEnumConversions
- 4 Initialization
- 5 Introduction to Initialization =Initialization
- 5 Arrays, structures, and unions =ArraysStructuresAndUnions
- 4 Declarations and declarators
- 5 Declarations and declarators =DeclarationsAndDeclarators
- 4 Use of storage class specifiers
- 5 Use of storage class specifiers =Keywords_StorageClassSpecifiers
- 4 Variable Modifiers
- 5 Introduction to Variable Modifiers =VariableModifiers
- 5 const =const
- 5 volatile =volatile
- 4 Mixed-language calling conventions
- 5 Mixed-language calling conventions =Mixed_LanguageCallingConventions
- 5 _ _cdecl = cdecl
- 5 _ _pascal =pascal
- 5 _ _stdcall =_stdcall
- 5 _ _fastcall =_fastcall
- 4 Multithread variables
- 5 Multithread variables =__thread
- 4 Function modifiers
- 5 Function modifiers =FunctionModifiers
- 3 Pointers
- 4 Introduction to Pointers =Pointers
- 4 Pointers to objects =PointersToObjects
- 4 Pointers to functions =PointersToFunctions
- 4 Pointer declarations =PointerDeclarations
- 4 Pointer constants =PointerConstants
- 4 Pointer arithmetic =PointerArithmetic
- 4 Pointer conversions =PointerConversions
- 4 C++ reference declarations =CPPreferencedeclarations
- 3 Arrays
- 3 Introduction to Arrays in C =Arrays
- 3 Functions
- 4 Introduction to Functions =Functions
- 4 Declarations and definitions =DeclarationsAndDefinitions
- 4 Declarations and prototypes =DeclarationsAndPrototypes
- 4 Definitions =Definitions
- 4 Formal parameter declarations =FormalParameterDeclarations
- 4 Function calls and argument conversions =FunctionCallsAndArgumentConversions
- 3 Structures
- 4 Introduction to Structures =Structures
- 4 Untagged structures and typedefs =UntaggedStructuresAndTypedefs
- 4 Structure member declarations =StructureMemberDeclarations
- 4 Structures and functions =StructuresAndFunctions
- 4 Structure member access =StructureMemberAccess
- 4 Structure name spaces =StructureNameSpaces
- 4 Incomplete declarations =IncompleteDeclarations
- 4 Bit fields =BitFields
- 3 Unions
- 4 Introduction to Unions =Unions
- 4 Anonymous unions (C++ only) =AnonymousUnions
- 4 Union declarations =UnionDeclarations
- 3 Enumerations
- 4 Enumerations =Enumerations
- 4 Assignment to enum types =AssignmentToEnumTypes
- 3 Expressions
- 4 Introduction to Expressions =Expressions
- 4 Precedence of Operators = Ops_Precedence
- 4 Expressions and C++ =ExpressionsAndCPP
- 4 Evaluation order =EvaluationOrder
- 4 Errors and overflows =ErrorsAndOverflows
- 3 Operators Summary
- 4 Operators Summary = Op_Summary
- 3 Primary Expression Operators
- 4 Primary Expression Operators = PrimaryExpressionOperators
- 3 Postfix Expression Operators
- 4 Postfix Expression Operators = Postfix_ops
- 5 Array subscript operator = bracket_ops
- 5 Function call operator = parens_ops
- 5 Direct member selector = Op_Period
- 5 Indirect member selector = Op_RightArrow
- 5 Increment/Decrement operators = inc_decrement
- 3 Unary operators
- 4 Unary operators = unary_ops
- 4 Reference/Indirect operators = ref_deref_ops
- 4 Plus/Minus operators = plus_minus
- 4 Arithmetic Operators = Arithmetic_ops
- 4 The sizeof operator = sizeof
- 3 Binary operators
- 4 Introduction to Binary operators = binary_ops
- 4 Multiplicative Operators = multiplicative_ops
- 4 Bitwise operators =Bitwise_Ops
- 4 Relational operators =Relational_Ops
- 4 Equality operators =EqualityOperators
- 4 Logical operators =Logical_Ops
- 4 Conditional Operator = conditional_op
- 4 Assignment Operators = assignment_ops
- 4 Comma Punctuator and Operator = comma_op
- 4 C++ Specific Operators = CPlus_ops
- 3 Statements
- 4 Introduction to Statements =Statements
- 4 Blocks =Blocks
- 4 Labeled statements =LabeledStatements
- 4 Expression statements =ExpressionStatements
- 4 Selection statements =SelectionStatements
- 4 Iteration statements =IterationStatements
- 4 Jump statements =JumpStatements
- 2 C++ specifics
- 3 Introduction to C++ specifics =CPPSpecifics
- 3 C++ namespaces
- 4 Namespaces overview = CPPNamespaces
- 4 Defining a namespace = DefiningANamespace
- 4 Declaring a namespace = ANamespace
- 4 Namespace alias = NamespaceAlias
- 4 Extending a namespace = ExtendingANamespace
- 4 Anonymous namespaces = AnonymousNamespaces
- 4 Accessing elements of a namespace = AccessingElementsOfANamespace
- 4 Using directive = UsingDirective
- 4 Using declaration = UsingDeclaration
- 4 Explicit access qualification = ExplicitAccessQualification
- 3 New-style typecasting overview
- 4 New-style typecasting =NewStyleTypecasting
- 4 const_cast = const_cast
- 4 dynamic_cast = dynamic_cast
- 4 reinterpret_cast = reinterpret_cast
- 4 static_cast = static_cast
- 3 Run-time type identification (RTTI)
- 4 Run-time type identification (RTTI) overview = RunTimeTypeIdentificationRTTIOverview
- 4 The typeid operator = typeid
- 5 _ _rtti and the -RT option = __rtti
- 5 -RT option and destructors = RTOptionAndDestructors
- 3 Referencing
- 4 Introduction to Referencing =Referencing
- 4 Simple references =SimpleReferences
- 4 Reference arguments =ReferenceArguments
- 3 The scope resolution operator
- 4 Scope resolution operator =ScopeResolutionOperator
- 3 The new and delete operators
- 4 operator new =new
- 4 operator delete =delete
- 4 operator new placement syntax = OperatorNewPlacementSyntax
- 4 Handling errors for the new operator =HandlingErrorsForTheNewOperator
- 4 The Operator new with Arrays = TheOperatorNewWithArrays
- 4 The Operator delete with Arrays = TheOperatorDeleteWithArrays
- 4 ::operator new = TheOperatorNew
- 4 Overloading the operator new = OverloadingNew
- 4 Overloading the operator delete = OverloadingDelete
- 4 Example of overloading the new and delete operators = OverloadingNewAndDelete_Ex
- 3 Classes
- 4 Introduction to Classes =CPPClasses
- 4 VCL class declarations =VCLClassDeclarations
- 4 Class names =ClassNames
- 4 Class types =ClassTypes
- 4 Class name scope =ClassNameScope
- 4 Class objects =ClassObjects
- 4 Class member list =ClassMemberList
- 4 Member functions =MemberFunctions
- 4 The keyword this =TheKeywordThis
- 5 Static members =StaticMembers
- 4 Inline functions
- 5 Introduction to Inline functions =InlineFunctions
- 5 Inline functions and exceptions =InlineFunctionsAndExceptions
- 4 Member scope
- 5 Introduction to Member scope =MemberScope
- 5 Nested types =NestedTypes
- 5 Member access control =MemberAccessControl
- 5 Base and derived class access =BaseAndDerivedClassAccess
- 4 Virtual base classes
- 5 Virtual base classes =VirtualBaseClasses
- 4 Friends of classes
- 5 Friends of classes =FriendsOfClasses
- 3 Constructors and destructors
- 4 Introduction to Constructors and destructors =ConstructorsAndDestructors
- 4 Constructors
- 5 Introduction to Constructors =Constructors
- 5 Constructor defaults =ConstructorDefaults
- 5 The copy constructor =TheCopyConstructor
- 5 Overloading constructors =OverloadingConstructors
- 5 Order of calling constructors =OrderOfCallingConstructors
- 5 Class initialization =ClassInitialization
- 4 Destructors
- 5 Introduction to Destructors =Destructors
- 5 Invoking destructors =InvokingDestructors
- 5 atexit, #pragma exit, and destructors =atexitPoundSignpragmaexitAndDestructors
- 5 exit and destructors =exitAndDestructors
- 5 abort and destructors =abortAndDestructors
- 5 Virtual destructors =VirtualDestructors
- 3 Operator overloading overview
- 4 Overloading Operators = Ops_Overload
- 4 How to construct a class of complex vectors
- 5 Example for Overloading Operators =OverloadingOperatorsExample
- 3 Overloading Operator Functions Overview
- 5 Overloading Operator Functions = OpsOverload_OperatorFunctions
- 5 Overloaded Operators and Inheritance = OpsOverload_OperatorsAndInheritance
- 5 Overloading Unary Operators = OpsOverload_UnaryOperators
- 5 Overloading Binary Operators = OpsOverload_BinaryOperators
- 5 Overloading the Assignment Operator = OpsOverload_AssignmentOperator
- 5 Overloading the Function Call Operator ( ) = OpsOverload_FunctionCallOperator
- 5 Overloading the Subscript Operator [ ] = OpsOverload_SubscriptOperator
- 5 Overloading the Class Member Access Operator -> = OpsOverload_ClassMemberAccessOperator
- 3 Polymorphic classes
- 4 Introduction to Polymorphic classes =PolymorphicClasses
- 4 virtual functions
- 5 Introduction to virtual functions =VirtualFunctions
- 5 virtual function return types =VirtualFunctionReturnTypes
- 4 dynamic functions
- 4 Abstract classes
- 5 Abstract classes =AbstractClasses
- 3 C++ scope
- 4 Introduction to C++ scope =CPPScope
- 4 Class scope =ClassScope
- 4 Hiding =Hiding
- 4 C++ scoping rules summary =CPPScopingRulesSummary
- 3 Templates
- 5 Using Templates = Templates
- 5 Template Syntax = Template
- 5 Template Body Parsing =TemplateBodyParsing
- 4 Function templates overview
- 5 Function Templates = FunctionTemplates
- 5 Overriding a Template Function = OverridingATemplateFunction
- 5 Implicit and Explicit Template Functions = ImplicitAndExplicitTemplateFunctions
- 4 Class templates overview
- 5 Class Templates = ClassTemplates
- 5 Template Arguments = Arguments
- 5 Using Angle Brackets in Templates = AngleBrackets
- 5 Using Type-safe Generic Lists in Templates = TypesafeGenericLists
- 5 Eliminating Pointers in Templates = EliminatingPointers
- 4 Compiler template switches
- 5 Using Template Compiler Switches = TemplateCompilerSwitches
- 4 Changes to template generation semantics = templategeneration
- 4 Exporting and importing templates
- 5 Exporting and importing templates =ExportingAndImportingTemplates
- 2 Dynamic-link libraries
- 3 What is a dynamic-link library?=WhatIsADLL
- 3 Using DLLs in C++Builder=UsingDLLs
- 3 Creating DLLs in C++Builder=CreatingDLLs
- 3 Creating DLLs containing VCL components=CreatingDLLsWithVCL
- 3 Linking DLLs=LinkingDLLs
- 2 Working with packages and components
- 3 About packages=aboutpackages
- 3 Why use packages?
- 4 Why use packages?=whyusepackages
- 4 Packages and standard DLLs=packagesandstandarddlls
- 3 Runtime packages
- 4 Runtime packages=runtimepackages
- 4 Using runtime packages in an application=usingruntimepackagesinanapplication
- 4 Deciding which runtime packages to use=decidingwhichruntimepackagestouse
- 4 Custom packages=custompackages
- 3 Design-time packages
- 4 Design-time packages=designtimepackages
- 4 Installing component packages=installingcomponentpackages
- 4 Creating and editing packages
- 5 Creating and editing packages=creatingandeditingpackages
- 5 Creating a package=creatingapackage
- 5 Editing an existing package=editinganexistingpackage
- 5 Package source files and makefiles=packagesourcefilesandmakefiles
- 5 Packaging components=packagingcomponents
- 5 Understanding the structure of a package=understandingthestructureofapackage
- 5 Compiling packages=compilingpackages
- 5 Package-specific compiler directives=packagespecificcompilerdirectives
- 5 Weak packaging=weakpackaging
- 5 Using the command-line compiler and linker=usingthecommandlinecompilerandlinker
- 5 Package files created by a successful compilation=packagefilescreatedbyasuccessfulcompilation
- 3 Deploying packages=deployingpackages
- 2 C++ language support for the VCL
- 3 C++ language support for the VCL = c++languagesupportforthevcl
- 3 C++ and Object Pascal models
- 4 C++ and Object Pascal models = c++andobjectpascalmodels
- 4 Object identity and instantiation = objectidentityandinstantiation
- 4 Object construction for C++Builder VCL classes = objectconstructionforC++BuilderVCLclasses
- 4 Calling virtual methods in base class constructors = callingvirtualmethodsinbaseclassconstructors
- 4 Example calling virtual methods = examplecallingvirtualmethods
- 4 Constructor initialization of data members for virtual functions = constructorinitializationofdatamembersforvirtualfunctions
- 4 Object destruction = objectdestruction
- 4 AfterConstruction and BeforeDestruction = afterconstructionandbeforedestruction
- 4 Class virtual functions = classvirtualfunctions
- 3 Support for Object Pascal data types and language concepts
- 4 Support for Object Pascal data types and language concepts = supportforobjectpascaldatatypesandlanguageconcepts
- 4 Typedefs = typedefs
- 4 Classes that support the Object Pascal language = classesthatsupporttheobjectpascallanguage
- 4 C++ language counterparts to the Object Pascal language = c++languagecounterpartstotheobjectpascallanguage
- 4 Open arrays
- 5 Open arrays = openarrays
- 5 Calculating the number of elements = calculatingthenumberofelements
- 5 Temporaries = temporaries
- 5 array of const = arrayofconst
- 5 OPENARRAY macro = openarraymacro
- 5 EXISTINGARRAY macro = existingarraymacro
- 5 C++ functions that take open array arguments = c++functionsthattakeopenarrayarguments
- 4 Types defined differently
- 5 Types defined differently = typesdefineddifferently
- 4 Resource strings = resourcestrings
- 4 Default parameters = defaultparameters
- 4 Runtime type information = runtimetypeinformation
- 4 Unmapped types = unmappedtypes
- 4 Keyword extensions = keywordextensions
- 4 The __declspec keyword extension = thedeclspeckeywordextension
- 2 Exception handling
- 3 Exception handling = ehExceptionHandling
- 3 C++ exception handling
- 4 C++ exception handling = ehC++ExceptionHandling
- 4 ANSI requirements for exception handling = ehANSIRequirementsForExceptionHandling
- 4 Exception handling syntax = ehExceptionHandlingSyntax
- 4 Exception declarations = ehExceptiondeclarations
- 4 Throwing an exception = ehThrowingAnException
- 4 Handling an exception = ehHandlingAnException
- 4 Exception specifications = ehExceptionSpecifications
- 4 Constructors and destructors in exception handling = ehConstructorsAndDestructorsInExceptionHandling
- 4 Unhandled exceptions = ehUnhandledExceptions
- 4 Setting exception handling options = ehSettingExceptionHandlingOptions
- 3 Structured exceptions under Win32
- 4 Structured exceptions under Win32 = ehStructuredExceptionsUnderWin32
- 4 Using structured exceptions in C and C++ code = ehUsingStructuredExceptions
- 4 Syntax of structured exceptions = ehSyntaxOfStructuredExceptions
- 4 Handling structured exceptions = ehHandlingStructuredExceptions
- 4 Exception filters = ehExceptionFilters
- 4 Mixing C++ with structured exceptions = ehMixingC++WithStructuredExceptions
- 4 Defining exceptions = ehDefiningExceptions
- 4 Raising exceptions = ehRaisingExceptions
- 4 Termination blocks = ehTerminationBlocks
- 3 VCL exception handling
- 4 VCL exception handling = ehVCLExceptionHandling
- 4 Differences between C++ and VCL exception handling = ehDifferencesBetweenC++AndVCLExceptionHandling
- 4 Handling operating system exceptions = ehHandlingOperatingSystemExceptions
- 4 Handling VCL exceptions = ehHandlingVCLExceptions
- 4 VCL exception classes = ehVCLExceptionClasses
- 2 Using threads
- 3 Using threads = ThreadsUsingThreads
- 3 Defining thread objects
- 4 Defining thread objects = ThreadsExecutingThreadObjects
- 4 Initializing the thread = ThreadsInitializingTheThread
- 4 Writing the thread function
- 5 Writing the thread function = ThreadsWritingTheThreadFunction
- 5 Using the main VCL thread = ThreadsUsingTheMainVCLThread
- 5 Using thread-local variables = ThreadsUsingThreadLocalVariables
- 5 Checking for termination by other threads = ThreadsCheckingForTerminationByOtherThreads
- 5 Writing clean-up code = ThreadsWritingCleanupCode
- 3 Coordinating threads
- 4 Coordinating threads = ThreadsCoordinatingThreads
- 4 Avoiding simultaneous access
- 5 Avoiding simultaneous access = ThreadsAvoidingSimultaneousAccess
- 5 Locking objects = ThreadsLockingObjects
- 5 Using critical sections = ThreadsUsingCriticalSections
- 4 Waiting for other threads
- 5 Waiting for other threads = ThreadsWaitingForOtherThreads
- 5 Waiting for a thread to finish executing = ThreadsWaitingForAThreadToFInishExecuting
- 5 Waiting for a task to be completed = ThreadsWaitingForATaskToBeCompleted
- 3 Executing thread objects
- 4 Overriding the default priority = ThreadsOverridingTheDefaultPriority
- 4 Starting and stopping threads = ThreadsStartingAndStoppingThreads
- 4 Caching threads = ThreadsCachingThreads
- 3 Debugging multi-threaded applications = ThreadsDebuggingMultiThreadedAPplications
- 2 The Preprocessor
- 3 Preprocessor Directives
- 4 # (null directive) = PndSnnull
- 4 Preprocessor Directives = PreprocessorDirectives
- 3 Defining and undefining macros
- 4 #define = PndSndefine
- 4 #undef = PndSnUndef
- 4 Using the-D and -U Command-line Options = DAndUOptions
- 4 Keywords and Protected Words as Macros = KeywordsandProtectedWords
- 3 Macros with Parameters overview
- 4 Macros with Parameters = MacrosWithParameters
- 4 Nesting Parentheses and Commas = define_NestingParensAndCommas
- 4 Token Pasting with ## = define_TokenPasting
- 4 Converting to Strings with # = define_ConvertingToStrings
- 4 Using the Backslash (\) for Line Continuation = define_UsingTheBackslash
- 4 Side Effects and Other Dangers = define_SideEffects
- 3 File inclusion with #include
- 4 #include = PndSnInclude
- 4 Header File Search with <header_name> = HeaderFileSearchWithBrackets
- 4 Header File Search with "header_name" = HeaderFileSearchWithQuotes
- 3 Conditional compilation overview
- 4 Conditional compilation =ConditionalCompilation
- 4 operator defined = defined
- 4 #if, #elif, #else, and #endif conditional directives = PndSnif
- 4 #ifdef and #ifndef conditional directives = PndSnifdef
- 3 The #line control directive
- 4 #line = PndSnLine
- 3 The #error directive
- 4 #error = PndSnerror
- 3 Pragma directives overview
- 4 Pragma summary = PndSnpragma
- 4 #pragma anon_struct =PragmaAnon_Struct
- 4 #pragma argsused = PndSnpragmaArgsused
- 4 #pragma codeseg = PndSnpragmaCodeseg
- 4 #pragma comment = PndSnpragmaComment
- 4 #pragma exit and #pragma startup = PndSnpragmaExitAndPndSnpragmaStartup
- 4 #pragma hdrfile = PndSnpragmaHdrfile
- 4 #pragma hdrstop = PndSnpragmaHdrstop
- 4 #pragma inline = PndSnpragmaInline
- 4 #pragma intrinsic = PndSnpragmaIntrinsic
- 4 #pragma inline = PndSnpragmaLink
- 4 #pragma message = PndSnpragmaMessage
- 4 #pragma pack = PndSnpragmaPack
- 4 #pragma package = PndSnpragmaPackage
- 4 #pragma obsolete = PndSnpragmaObsolete
- 4 #pragma option = PndSnpragmaOption
- 4 #pragma resource =PndSnpragmaResource
- 4 #pragma warn = PndSnpragmaWarn
- 3 Predefined macros overview
- 4 Predefined macros = Macros_Predefined
- 2 VCL programming techniques
- 3 VCL programming techniques = vptVCLprogrammingtechniques
- 3 Working with text
- 4 Working with text = vptWorkingwithtext
- 4 Setting text alignment = vptSettingtextalignment
- 4 Adding scroll bars at runtime = vptAddingscrollbarsatruntime
- 4 Adding the Clipboard object = vptAddingtheClipboardobject
- 4 Selecting text = vptSelectingtext
- 4 Selecting all text = vptSelectingalltext
- 4 Cutting, copying, and pasting text = vptCutting,copying,andpastingtext
- 4 Deleting selected text = vptDeletingselectedtext
- 4 Disabling menu items = vptDisablingmenuitems
- 4 Providing a pop-up menu = vptProvidingapop-upmenu
- 4 Handling the OnPopup event = vptHandlingtheOnPopupevent
- 3 Working with string lists
- 4 Working with string lists = vptWorkingwithstringlists
- 4 Manipulating strings in a list
- 5 Manipulating strings in a list = vptManipulatingstringsinalist
- 5 Counting the strings in a list = vptCountingthestringsinalist
- 5 Accessing a particular string = vptAccessingaparticularstring
- 5 Finding the position of a string in the list = vptFindingthepositionofastringinthelist
- 5 Iterating through strings in a list = vptIteratingthroughstringsinalist
- 5 Adding a string to a list = vptAddingastringtoalist
- 5 Moving a string within a list = vptMovingAStringWithinAList
- 5 Deleting a string from a list = vptDeletingastringfromalist
- 5 Copying a complete string list = vptCopyingacompletestringlist
- 5 Copying complete string lists using local variables = vptCopyingcompletestringlistsusinglocalvariables
- 4 Loading and saving string lists = vptLoadingandsavingstringlists
- 4 Creating a new string list
- 5 Creating a new string list = vptCreatinganewstringlist
- 5 Short-term string lists = vptShort-termstringlists
- 5 Long-term string lists = vptLong-termstringlists
- 4 Adding objects to a string list = vptAddingobjectstoastringlist
- 4 Operating on objects in a string list
- 5 Operating on objects in a string list = vptOperatingonobjectsinastringlist
- 5 Accessing associated objects = vptAccessingassociatedobjects
- 5 Adding associated objects = vptAddingassociatedobjects
- 3 Adding graphics to controls
- 4 Adding graphics to controls = vptAddinggraphicstocontrols
- 4 Setting the owner-draw style = vptSettingtheowner-drawstyle
- 4 Adding graphical objects to a string list
- 4 Adding graphical objects to a string list = vptAddinggraphicalobjectstoastringlist
- 5 Adding images to an application = vptAddingimagestoanapplication
- 5 Adding images to a string list = vptAddingimagestoastringlist
- 4 Drawing owner-draw items = vptDrawingowner-drawitems
- 4 Sizing owner-draw items = vptSizingowner-drawitems
- 4 Drawing each owner-draw item = vptDrawingechowner-drawitem
- 3 Dragging and dropping
- 4 Dragging and dropping = vptDragginganddropping
- 4 Starting a drag operation = vptStartingadragoperation
- 4 TAccepting dragged items = vptAcceptingdraggeditems
- 4 Dropping items = vptDroppingitems
- 4 Ending a drag operation = vptEndingadragoperation
- 4 Customizing drag and drop with Tdrag objec = vptCustomizingdraganddropwithTdragobject
- 4 Changing the drag mouse pointe = vptChangingthedragmousepointer
- 3 Opening, saving, and printing files
- 4 Opening, saving, and printing files = vptOpening,saving,andprintingfiles
- 4 Using Windows common dialogs
- 5 Using Windows common dialogs = vptUsingWindowscommondialogs
- 5 Available common dialog boxes = Availablecommon ialogboxes
- 5 Adding a common dialog box to a project = vptAddingacommondialogboxyoaproject
- 5 Executing common dialog boxes = vptExecutingcommondialogboxes
- 4 Selecting files to open = vptSelectingfilestoopen
- 4 Specifying file filters = vptSpecifyingfilefilters
- 4 Opening an existing file = vptOpeninganexistingfile
- 4 Setting the cursor position upon opening a text file = vptSettingthecursorpositionuponopeningatextfile
- 4 Saving files
- 5 Saving files = vptSavingfiles
- 5 Saving existing files = vptSavingexistingfiles
- 5 Saving a new or unnamed file = vptSavinganeworunnamedfile
- 4 Creatingabackupfile = vptCreatingabackupfile
- 4 Printing text
- 5 Printing text = vptPrintingtext
- 5 Setting up the printer = vptSettinguptheprinter
- 5 Printing the text = vptPrintingthetext
- 5 Printing rich text = vptPrinting richtext
- 5 Using the printer's Canvas = vptUsingtheprinter'sCanvas
- 5 Printing graphics = vptPrintinggraphics
- 5 Using the font dialog box = vptUsingthefontdialogbox
- 5 Changing the selected-text font in a rich-text edit component = vptChangingtheselected-textfontinarich-texteditcomponent
- 4 Controlling when forms reside in memory
- 5 Controlling when forms reside in memory = vptControllingwhenformsresideinmemory
- 5 Displaying an auto-created form = vptDisplayinganauto-createdform
- 5 Creating forms dynamically = vptCreatingformsdynamically
- 5 Creating modeless forms such as windows = vptCreatingmodelessformssuchaswindows
- 5 Using a local variable to create a form instance = vptUsingalocalvariabletocreateaforminstance
- 4 Retrieving data from modeless forms = vptRetrievingdatafrommodelessforms
- 4 Retrieving data from modal forms = vptRetrievingdatafrommodalforms
- 4 Passing additional arguments to forms = vptPassingadditionalargumentstoforms
- 3 Designing toolbars and cool bars
- 4 Designing toolbars and cool bars = vptDesigningtoolbarsandcoolbars
- 4 Adding a toolbar using a panel component
- 5 Adding a toolbar using a panel component = vptAddingatoolbarusingapanelcomponent
- 5 Adding a speed button to a panel = vptAddingaspeedbuttontoapanel
- 5 Assigning a speed button's glyph = vptAssigningaspeedbutton'sglyph
- 5 Setting the initial condition of a speed button = vptSettingtheinitialconditionofaspeedbutton
- 5 Creating a group of speed buttons = vptCreatingagroupofspeedbuttons
- 5 Allowing toggle buttons = vptAllowingtogglebuttons
- 4 Adding a toolbar using the toolbar component
- 5 Adding a toolbar using the toolbar component = vptAddingatoolbarusingthetoolbarcomponent
- 5 Adding a tool button = vptAddingatoolbutton
- 5 Assigning images to tool butt = vptAssigningimagestotoolbuttons
- 5 Setting tool button appearance and initial conditions = vptSettingtoolbuttonappearanceandinitialconditions
- 5 Creating groups of tool buttons = vptCreatinggroupsoftoolbuttons
- 5 Allowing toggled tool buttons = vptAllowingtoggledtoolbuttons
- 4 Adding a cool bar component = vptAddingacoolbarcomponent
- 4 Setting the appearance of the cool bar = vptSettingtheappearanceofthecoolbar
- 4 Responding to clicks
- 5 Responding to clicks = vptRespondingtoclicks
- 5 Writing an event handler for a button click = vptWritinganeventhandlerforabuttonclick
- 5 Assigning a menu to a tool button = vptAssigningamenutoatoolbutton
- 4 Adding hidden toolbars = vptAddinghiddentoolbars
- 4 Hiding and showing toolbars = vptHidingandshowingtoolbars
- 2 Working with Graphics
- 3 Working with Graphics = wwgWorkingWithGraphics
- 3 Overview of graphics programming
- 4 Overview of graphics programming = WwgOverviewofgraphicsprogramming
- 4 Common Properties and Methods of Canvas = wwgCommonpropertiesandmethodsofcanvas
- 4 Refreshing the screen = wwgRefreshingTheScreen
- 4 When graphic images appear in the application = wwgWhenGraphicImagesAppearInTheApplication
- 4 Types of graphic objects = wwgTypesOfGraphicObjects
- 3 Using the properties of the Canvas object
- 4 Using the properties of the Canvas object = wwgUsingThePropertiesOfTheCanvasObject
- 4 Using pens
- 5 Using pens = wwgUsingPens
- 5 Changing the pen color = wwgChangingThePenColor
- 5 Changing the pen width = wwgChangingThePenWidth
- 5 Changing the pen style = wwgChangingThePenStyle
- 5 Changing the pen mode = wwgChangingThePenMode
- 5 Getting the pen position = wwgGettingThePenPosition
- 4 Using brushes
- 5 Using brushes = wwgUsingBrushes
- 5 Changing the brush color = wwgChangingTheBrushColor
- 5 Changing the brush style = wwgChangingTheBrushSyle
- 5 Setting the Brush Bitmap property = wwgSettingTheBrushBitmapProperty
- 4 Reading and setting pixels = wwgReadingAndSettingPixels
- 3 Using Canvas methods to draw graphic objects
- 4 Using Canvas methods to draw graphic objects = wwgUsingCanvasMethodsToDrawGraphicObjects
- 4 Drawing lines = wwgDrawingLines
- 4 Drawing polylines = wwgDrawingPolylines
- 4 Drawing shapes
- 5 Drawing shapes = wwgDrawingShapes
- 5 Drawing rectangles and ellipses = wwgDrawingRectanglesAndEllipses
- 5 Drawing rounded rectangles = wwgDrawingRoundedRectangles
- 5 Drawing polygons = wwgDrawingPolygons
- 3 Handling multiple drawing objects in your application
- 4 Handling multiple drawing objects in your application = wwgHandlingMultipleDrawingObjectsInYourApplication
- 4 Keeping track of which drawing tool to use = wwgKeepingTrackOfWhichDrawingToolToUse
- 4 Changing the tool with speed buttons = wwgChangingTheToolWithSpeedBttons
- 4 Using drawing tools = wwgUsingDrawingTools
- 4 Sharing code among event handlers = wwgSharingCodeAmongEventHandlers
- 3 Drawing on a bitmap
- 4 Drawing on a bitmap = wwgDrawingOnABitmap
- 4 Making scrollable bitmaps = wwgMakingScrollableBitmaps
- 4 Adding an image control
- 5 Adding an image control = wwgAddingAnImageControl
- 5 Placing the control = wwgPlacingTheControl
- 5 Setting the initial bitmap size = wwgSettingTheInitialBitmapSize
- 5 Drawing on the bitmap = wwgDrawingOnTheBitmap
- 3 Loading and saving graphics files
- 4 Loading and saving graphics files = wwgLoadingAndSavingGraphicsFiles
- 4 Loading a picture from a file = wwgLoadingAPictureFromAFile
- 4 Saving a picture to a file = wwgSavingAPictureToAFile
- 4 Replacing the picture = wwgReplacingThePicture
- 3 Using the Clipboard with graphics
- 4 Using the Clipboard with graphics = wwgUsingTheClipboardWithGraphics
- 4 Copying graphics to the Clipboard = wwgCopyingGraphicsToTheClipboard
- 4 Cutting graphics to the Clipboard = wwgCuttingGraphicsToTheClipboard
- 4 Pasting graphics from the Clipboard = wwgPastingGraphicsFromTheClipboard
- 3 Rubber banding example
- 4 Rubber banding example = wwgRubberBandingExample
- 4 Responding to the mouse
- 5 Responding to the mouse = wwgRespondingToTheMouse
- 5 What's in a mouse event = wwgWhat'sInAMouseEvent
- 5 Responding to a mouse-down action = wwgRespondingToAMouse-downAction
- 5 Responding to a mouse-up action = wwgRespondingToAMouse-upAction
- 5 Responding to a mouse move = wwgRespondingToAMouseMove
- 3 Adding a field to a form object to track mouse actions = wwgAddingAFieldToAFormObjectToTrackMouseActions
- 3 Refining line drawing
- 4 Refining line drawing = wwgRefiningLineDrawing
- 4 Tracking the origin point = wwgTrackingTheOriginPoint
- 4 Tracking movement = wwgTrackingMovement
- 2 Creating international applications
- 3 Creating international applications = IntappsCreatingInternationalApplications
- 3 Internationalization = IntappsInternationalization
- 3 Localization = IntappsLocalization
- 3 Internationalizing applications
- 4 Internationalizing applications = IntappsInternationalizingApplications
- 4 Enabling application code
- 5 Enabling application code = IntappsEnablingApplicationCode
- 5 Character sets = IntappsCharacterSets
- 5 OEM and ANSI character sets = IntappsOEMAndANSICharacterSets
- 5 Double byte character sets = IntappsDoubleByteCharacterSets
- 5 Wide characters = IntappsWideCharacters
- 5 Locale-specific features = IntappsLocalespecificFeatures
- 4 Designing the user interface
- 5 Designing the user interface = IntappsDesigningTheUserInterface
- 5 Text = IntappsText
- 5 Graphic images = IntappsGraphicImages
- 5 Formats and sort order = IntappsFormatsAndSortOrder
- 5 Keyboard mappings = IntappsKeyboardMappings
- 4 Isolating resources = IntappsIsolatingResources
- 4 Creating resource DLLs = IntappsCreatingResourceDLLs
- 4 Using resource DLLs = IntappsUsingResourceDLLs
- 4 Localizing applications = IntappsLocalizingApplications
- 2 ANSI implementation-specific standards
- 3 ANSI implementation-specific standards = ANSIImplSpecs
- 2 Keyword alphabetical reference
- 3 Keyword index =KeywordIndex
- 3 Keyword (by category) =KeywordIndex_Categories
- 2 Linking issues
- 3 Linking issues = linkingissues
- 3 Linking options with the C and Pascal runtime libraries = linkingoptionsrtl
- 3 Packages in DLLs
- 4 Packages in DLLs = packagesindlls
- 4 The Application object = theapplicationobject
- 4 Modifications to global variables and events = modificationstoglobalvariablesandevents
- 4 Startup and shutdown issues with DLLs = startupandshutdownissueswithdlls
- 3 DLLS and threading = dllsandthreading
- 3 Linking package issues
- 3 Linking package issues = linkingpackageissues
- 4 DLL review = dllreview
- 4 Initialization order of OBJs = initializationorderofobjs
- 4 Initialization order of units = initializationorderofunits
- 4 Packages (.BPLs) vs. .DLLs = packagesvsdlls
- 4 Stating unit dependencies = statingunitdependencies
- 4 Weak units = weakunits
- 4 Reference counting = referencecounting
- 4 Startup and shutdown issues with packages = startupandshutdownissueswithpackages
- 2 Sharing modules between versions of C++Builder or Delphi
- 3 Sharing modules between versions of C++Builder or Delphi = sharingmodules
- 3 Using Delphi forms = usingdelphiforms
- 3 Sharing packages = sharingpackages
- 3 Using Delphi packages = usingdelphipackages
- 3 Using .pas files in C++Builder projects = usingpasfiles
- 2 Deploying applications
- 3 Deploying applications = dapDeployingApplications
- 3 Deploying general applications
- 4 Deploying general applications = dapDeployingGeneralApplications
- 4 Using installation programs
- 5 Using installation programs = dapUsingInstallationPrograms
- 4 Identifying application files
- 5 Identifying application files = dapIdentifyingApplicationFiles
- 5 Application files, listed by file name extension = dapApplicationFilesListedByFileNameExtension
- 5 Package files = dapPackageFiles
- 5 ActiveX controls = dapActiveXControls
- 5 System file dependencies = dapSystemFileDependencies
- 5 Helper applications = dapHelperApplications
- 5 DLL locations = dapDLLLocations
- 3 Deploying database applications
- 4 Deploying database applications = dapDeployingDatabaseApplications
- 4 Providing the database engine = dapProvidingTheDatabaseEngine
- 4 Borland Database Engine = dapBorlandDatabaseEngine
- 4 Third-party database engines = dapThirdpartyDatabaseEngines
- 4 SQL Links = dapSQLLinks
- 4 Multi-tiered Distributed Application Services (MIDAS) = dapMultitieredDistributedApplicationServices
- 3 Deploying Web applications
- 4 Deploying Web applications = dapDeployingWebApplications
- 3 Programming for varying host environments
- 4 Programming for varying host environments = dapProgrammingForVaryingHostEnvironments
- 4 Screen resolutions and color depths = dapScreenResolutionsAndColorDepths
- 4 Considerations when not dynamically resizing = dapConsiderationsWhenNotDynamicallyResizing
- 4 Considerations when dynamically resizing forms and controls = dapConsiderationsWhenDynamicallyResizingFormsAndControls
- 4 Accommodating varying color depths = dapAccomodatingVaryingColorDepths
- 4 Fonts = dapFonts
- 4 Windows versions = dapWindowsVersions
- 3 Software license requirements
- 4 Software license requirements = dapSoftwareLicenseRequirements
-